package com.icehand.canal.client.transfer;

import com.alibaba.otter.canal.client.CanalConnector;
import com.icehand.canal.client.Point;
import com.icehand.canal.config.CanalConfig;
import com.icehand.canal.handler.CanalHandler;

import java.util.List;

/**
 * @author icehand
 */
public class DefaultTransponderFactory implements TransponderFactory{

    @Override
    public MessageTransponder newTransponder(CanalConnector connector, CanalConfig.Instance instance, String key, List<CanalHandler> handlers, List<Point> points) {
        return new DefaultMessageTransponderImpl(connector,instance,key ,handlers,points);
    }
}
